package com.cloudbroker.bcs.platform.dav.bizapi.service.business.plugs;

import com.cloudbroker.bcs.common.annotation.RequiredPermissions;
import com.cloudbroker.bcs.common.entity.HSBCPSBackVO;
import com.cloudbroker.bcs.platform.dav.bizapi.constants.PermissionsValue;
import com.cloudbroker.bcs.platform.dav.bizapi.service.business.plugs.result.PlugsDavListResult;
import com.cloudbroker.bcs.platform.dav.bizapi.service.business.plugs.vo.PlugsDelForm;
import com.cloudbroker.bcs.platform.dav.bizapi.service.business.plugs.vo.PlugsForm;
import com.cloudbroker.bcs.platform.dav.bizapi.service.business.plugs.vo.PlugsListForm;

public interface PlugsBizService {

	/**
	 * 组件添加
	 * @param form
	 * @return
	 */
	@RequiredPermissions(value = {PermissionsValue.EXTEND})
	public HSBCPSBackVO funcPlugsSave(PlugsForm form);
	
	/**
	 * 组件修改
	 * @param form
	 * @return
	 */
	@RequiredPermissions(value = {PermissionsValue.EXTEND})
	public HSBCPSBackVO funcPlugsUpdate(PlugsForm form);
	
	/**
	 * 组件列表
	 * @param form
	 * @return
	 */
	@RequiredPermissions(value = {PermissionsValue.EXTEND})
	public PlugsDavListResult funcPlugsList(PlugsListForm form);
	
	/**
	 * 组件删除
	 * @param form
	 * @return
	 */
	@RequiredPermissions(value = {PermissionsValue.EXTEND})
	public HSBCPSBackVO funcPlugsDel(PlugsDelForm form);
	
}
